Learn R Programming

NAM (version 1.4.6)

SNP H2: SNP heritability

Description

Calculates the ability of markers to carry a gene.

Usage

snpH2(gen)

Arguments

gen
Numeric matrix containing the genotypic data. A matrix with $n$ rows of observations and ($m$) columns of molecular markers. Missing values not allowed.

Value

Numeric vector containing the heritability of each markers.

References

Forneris, N. S., Legarra, A., Vitezica, Z. G., Tsuruta, S., Aguilar, I., Misztal, I., & Cantet, R. J. (2015). Quality Control of Genotypes Using Heritability Estimates of Gene Content at the Marker. Genetics, genetics-114.

Examples

Run this code

data(tpod)
Heritability=snpH2(gen)
plot(Heritability,chr=chr)

Run the code above in your browser using DataLab